package cn.lyjuan.android.demofive.frame.databinding;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

import cn.lyjuan.android.demofive.BR;


/**
 * Created by chad on 07/11/2017.
 */
public class UserView extends BaseObservable
{
    @Bindable
    private String name;

    @Bindable
    private String age;

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
        notifyPropertyChanged(BR.name);
    }

    public String getAge()
    {
        return age;
    }

    public void setAge(String age)
    {
        this.age = age;
        notifyPropertyChanged(BR.age);
    }
}
